﻿<%@ Page Title="" Language="C#" MasterPageFile="~/PopUp.Master" AutoEventWireup="true" CodeBehind="ReportViewer.aspx.cs" Inherits="SACM.PageCommon.ReportViewer" %>

<asp:Content ID="Content1" ContentPlaceHolderID="cphHead" runat="server">
    <script type="text/javascript" src='<%=ResolveUrl("../Scripts/ReportViewer.js")%>'></script>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="cphBody" runat="server">
    <div style="text-align:left;padding-bottom:1px">
        <asp:Button ID="BtnImprimir" runat="server" Text="" ToolTip="Imprimir" 
            CssClass="btnPrint" onclick="BtnImprimir_Click" />
        <asp:Button ID="BtnExcel" runat="server" Text="" ToolTip="Exportar a Excel" 
            CssClass="btnExcel" onclick="BtnExcel_Click"/>
        <%--<asp:Button ID="BtnImprimir" runat="server" Text="" ToolTip="Imprimir" OnClientClick="Print(); return false;" CssClass="btnPrint" />--%>
    </div>
    <iframe id="iFramePDF" runat="server" width="99%" height="465"></iframe>
    <%--<div id="divMsg" style="text-align:center;"></div>
    <div id="divPDF"></div>--%>
    <script type="text/javascript">
        var btnImprimir='<%=BtnImprimir.ClientID %>';
        var btnExcel = '<%=BtnExcel.ClientID %>';
    </script>
</asp:Content>
